package openbang.account.service.util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * GAE提供的数据持久层操作的服务接口
 * @author aibo zeng
 *
 */

public final class EMF {
	//JPA接口
    private static final EntityManagerFactory emfInstance =
        Persistence.createEntityManagerFactory("transactions-optional-emf");

    private EMF() {}

    public static EntityManagerFactory get() {
        return emfInstance;
    }
    
    
    
}